package za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Iterator.Factory;

import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Iterator.Model.Item;
import za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Iterator.Model.Menu;

public class IteratorFactory {

    public static Item createItem(String type, float price) 
    {
        Item item = new Item(type, price);
        return item;
    }

    public static Menu creatMenu()
    {
        Menu menu = new Menu();
        return menu;
    }
}